package org.example.api;


import org.example.api.dto.LoginFormDTO;
import org.example.api.dto.LoginResDTO;
import org.example.api.response.Response;

import javax.servlet.http.HttpSession;

/**
 * @author yinghuashen
 * @version 1.0
 * @description:
 * @date 2025/3/4 16:39
 */

public interface IAuthApi {

    Response<LoginResDTO> login(LoginFormDTO loginForm, HttpSession session);

    Response<Boolean> requestCode(String phone);

}
